using System;
using System.Collections.Generic;
using System.Text;
using AAM.BIZ;
using AAM;

namespace CMS.BIZ
{
    [DatabaseTable(TableName="Cultures",TableAlias="cu")]
    public class BizCulture : BizObject
    {

        public static readonly ObjectType ObjectType = new ObjectType("BizCulture");

        private int cultureID = 0;
        private string cultureCode = "";
        private string cultureName = "";
        private string imagePath = "";

        public BizCulture()
            : base(ObjectType, new object[] { 0 })
        {
        }
        [DatabaseRow(PrimaryKey=true, Identity=true)]
        public int CultureID
        {
            get { return cultureID; }
            set { ID[0] = value; cultureID = value; }
        }
        [DatabaseRow()]
        public string CultureCode
        {
            get { return cultureCode; }
            set { cultureCode = value; }
        }
        [DatabaseRow()]
        public string CultureName
        {
            get { return cultureName; }
            set { cultureName = value; }
        }
        [DatabaseRow()]
        public string ImagePath
        {
            get { return imagePath; }
            set { imagePath = value; }
        }

    }
}
